import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;


public class TestT {
	public static void main(String[] args) throws Exception {
		
		File f = new File("src/task.txt");
//		System.out.println(f.exists());
//		System.out.println(f);
		
		
		BufferedReader br = new BufferedReader(new FileReader(f));
		String r = "";
		String p = "sendTask_Ins(user, %s, lev, %s);";
		while( true ) {
			r = br.readLine();
			if(r == null ) {
				break;
			}

//			if(r.contains("HP")){
//			if(r.contains("攻击")){
//			if(r.contains("防御")){
//			if(r.contains("命中")){
//			if(r.contains("暴击")){
//			if(r.contains("破击")){
//			if(r.contains("格挡")){
//			if(r.contains("韧性")){
				if(r.contains("速度")){
				System.out.println(r);
			}
			
//			String endString = r.substring(r.length() - 10, r.length());
//			if(r.contains("策略")) {
//
//				Pattern pa = Pattern.compile("[0-9]{1,2}");
//				Matcher m = pa.matcher(endString);
//				m.find();
//				String num = m.group();
//
//				String teee = String.format(p, r.substring(0,9), num);
////				String teee = String.format(p, r.substring(0,9));
//				System.out.println(teee + " " + endString);
//				
////				String tt = r.replaceFirst("[0-9]{1,2}", "");
////				System.out.println(tt);
//				
////				if(!r.contains("到" ) || !r.contains("到")) {
////					throw new RuntimeException("saf");
////				}
//				
//			}
		}
		
		
//		Pattern p = Pattern.compile("[0-9]{1,2}");
//		Matcher m = p.matcher("1190378	策略命中Ⅷ	2	将策略命中提升到20级。");
////		boolean b = m.matches();
//		while(m.find()) {
//			String group = m.group();
//			System.out.println(group);
//		}
//		System.out.println("OVER");
		
	}
}
